package com.example.abstractfactory.factory;

import com.example.abstractfactory.color.Color;
import com.example.abstractfactory.shape.Shape;

/**
 * @Description TODO
 * @Date 2021/10/21 9:26
 * @Author ZhangJi
 * @Version 1.0
 */
public abstract class AbstractFactory {

  String a;

  /**
   * 获取形状方法
   * @param shape
   * @return
   */
  public abstract Shape getShape(String shape);

  /**
   * 获取颜色方法
   * @param color
   * @return
   */
  public abstract Color getColor(String color);

}
